package dto

import "law_case_api/models"

type (
	BaseReq struct {
		PageIndex int32 `json:"pageIndex"`
		PageSize  int32 `json:"pageSize"`
	}
	LoginReq struct {
		UserName string `json:"user_name"`
		UserPwd  string `json:"user_pwd"`
		IsLaw    bool   `json:"is_law"`
	}
	// ObjectCount 记录对象数量
	ObjectCount struct {
		ObjectId    int64 `json:"object_id"`
		ObjectCount int64 `json:"object_count"`
	}

	DashboardData struct {
		PendingOfficialFees        int64 `json:"pending_official_fees"`         //待缴官费
		PendingRefundedFees        int64 `json:"pending_refunded_fees"`         //待退费
		SupplementalEvidence       int64 `json:"supplemental_evidence"`         //补充证据
		SupplementalComments       int64 `json:"supplemental_comments"`         //补充意见
		PendingAppeal              int64 `json:"pending_appeal"`                //待上诉
		PendingExecute             int64 `json:"pending_execute"`               //待执行
		UrgentCases                int64 `json:"urgent_cases"`                  //紧急案件
		NotAccountedAdvancePayment int64 `json:"not_accounted_advance_payment"` //未到账垫付款
	}
	DashboardCaseData struct {
		Id                 int64  `json:"id"`
		CaseCode           string `json:"case_code"`
		CaseName           string `json:"case_name"`
		OneCourt           string `json:"one_court"`
		OneCourtName       string `json:"one_court_name"`
		OneHoldCourtDate   string `json:"one_hold_court_date"`
		TwoCourt           string `json:"two_court"`
		TwoCourtName       string `json:"two_court_name"`
		TwoHoldCourtDate   string `json:"two_hold_court_date"`
		ThreeCourt         string `json:"three_court"`
		ThreeCourtName     string `json:"three_court_name"`
		ThreeHoldCourtDate string `json:"three_hold_court_date"`
	}

	EChartDataRes struct {
		models.BaseResult
	}
)
